package com.lyh.poi.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * @author lyh
 * @date 2023-07-01
 */
public class ExcelImportDTO {

    @Excel(name = "姓名", height = 20, width = 30)
    private String userName;

    // , isImportField = "true_st"
    @Excel(name = "号码", height = 20, width = 30)
    private String userPhone;

    /**
     * type =2 该字段类型为图片,imageType=1 (默认可以不填),表示从file读取,字段类型是个字符串类型
     * 可以用相对路径也可以用绝对路径,绝对路径优先依次获取
     * width = 40 , height = 20,
     */
    @Excel(name = "公司LOGO", type = 2 , imageType = 1)
//    private byte[] companyLogo;
    private String companyLogo;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    /*public byte[] getCompanyLogo() {
        return companyLogo;
    }

    public void setCompanyLogo(byte[] companyLogo) {
        this.companyLogo = companyLogo;
    }*/

    public String getCompanyLogo() {
        return companyLogo;
    }

    public void setCompanyLogo(String companyLogo) {
        this.companyLogo = companyLogo;
    }
}
